import { Code, CreateDate, Desc, Entity, Icon, PrimaryUuid, Title, Unique, UpdateDate } from "@sker/core";

@Entity({ name: 'wx_addon' })
@Unique('UK_WX_ADDON_NAME',['name'])
export class WxAddon { 

    @PrimaryUuid()
    id: string;

    @Code()
    name: string;

    @Title()
    title: string;

    @Desc()
    desc: string;

    @Icon()
    icon: string;

    @CreateDate()
    create_date: Date;

    @UpdateDate()
    update_date: Date;
}